[IA64] Remove RBS from vcpu_guest_context_regs
authorAlex Williamson <alex.williamson@hp.com>
Thu, 31 May 2007 15:45:46 +0000 (09:45 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Thu, 31 May 2007 15:45:46 +0000 (09:45 -0600)
We need to address places where this is allocated on the stack before
growing the structure this large.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/include/public/arch-ia64.h
xen/include/public/foreign/reference.size

index 735f876f7dad786cb19f67955e9754ddf081d56b..508e95a9dd6373e0dfb3092f8a5cb5ad6d69fc46 100644 (file)
@@ -464,8 +464,18 @@ struct vcpu_guest_context_regs {
 
         struct vcpu_tr_regs tr;
 
+#if 0
+       /*
+        * The vcpu_guest_context structure is allocated on the stack in
+        * a few places.  With this array for RBS storage, that structure
+        * is a bit over 21k.  It looks like maybe we're blowing the stack
+        * and causing rather random looking failures on a couple systems.
+        * Remove since we're not actually using it for now.
+        */
+
         /* Note: loadrs is 2**14 bytes == 2**11 slots.  */
         unsigned long rbs[2048];
+#endif
 };
 
 struct vcpu_guest_context {
index a157136818180feb9da4dd693a3e4b797c49dd4a..a3843013a55c47494f19aa20e03249a4e35546ff 100644 (file)
@@ -8,8 +8,8 @@ cpu_user_regs             |      68     200     496
 xen_ia64_boot_param       |       -       -      96
 ia64_tr_entry             |       -       -      32
 vcpu_tr_regs              |       -       -     512
-vcpu_guest_context_regs   |       -       -   21872
-vcpu_guest_context        |    2800    5168   21904
+vcpu_guest_context_regs   |       -       -    5488
+vcpu_guest_context        |    2800    5168    5520
 arch_vcpu_info            |      24      16       0
 vcpu_time_info            |      32      32      32
 vcpu_info                 |      64      64      48